package com.grwx.omc.baselog.service;

import com.grwx.omc.common.entity.OperationLog;

import java.util.List;
import java.util.Map;

/**
 * @Description: 操作日志的调用接口
 * @Author: ManJiang
 * @Date: 2020/5/11
 */
public interface IOperationLogService {
    /**
     * 添加操作日志
     * @param operationLog
     */
    int addOperationLog(OperationLog operationLog);

    /**
     * 查询操作日志
     */
    List<OperationLog> getOperationLogs(Map<String,Integer> map);

    /**
     * 获取操作总条数
     * @return
     */
    int getTotalCount();
}
